import request from '../../utils/request';

/** 产权管理  */

// 新增
export function addiaPropertyRight (params){
    return request({
        url:'/sys/iaPropertyRight/add.do',
        method: 'post',
        data: params,
        headContype:true
    });
};

// 删除
export function deliaPropertyRight (params){
    return request({
        url:'/sys/iaPropertyRight/detele.do',
        method: 'DELETE',
        params: params
    });
};

// 查看编辑详情 
export function lookiaPropertyRightDetail (params){
    return request({
        url:'/sys/iaPropertyRight/detail.do',
        method: 'get',
        params: params
    });
};





// 获取列表数据
export function getiaPropertyRightList (params){
    return request({
        url:'/sys/iaPropertyRight/findIaPropertyRightListByPage.do',
        method: 'get',
        params: params
    });
};

//编辑提交
export function editiaPropertyRight (params){
    return request({
        url:'/sys/iaPropertyRight/update.do',
        method: 'put',
        data: params,
        headContype:true
    });
};



// 获取审核列表数据
export function getiaPropertyRightAuditList (params){
    return request({
        url:'/sys/iaPropertyRight/findIaPropertyRightCheckByPage.do',
        method: 'get',
        params: params
    });
};

//  审核详情
export function lookiaPropertyRightAuditDetail (params){
    return request({
        url:'/sys/iaPropertyRight/detailCheck.do',
        method: 'get',
        params: params
    });
};



// 通过审核信息 / 拒绝审核信息
export function approveOrRejectAudit (params){
    return request({
        url:"/sys/iaPropertyRight/check.do",
        method: 'PUT',
        params: params
    });
};


// 获取竞价记录 数据
export function getJjJlList (params){
    return request({
        url:'/sys/iaPropertyRight/detailBidding.do',
        method: 'get',
        params: params
    });
};


// 获取 竞价权限审核  列表数据
export function getiaPropertyRightForPermissionsAuditList (params){
    return request({
        url:'/sys/iaBidding/findListByPage.do',
        method: 'get',
        params: params
    });
};


//  竞价权限审核 审核详情
export function lookiaPropertyRightForPermissionsAuditDetail (params){
    return request({
        url:'/sys/iaBidding/getDetail.do',
        method: 'get',
        params: params
    });
};



// 竞价权限审核 通过审核/ 拒绝审核
export function forPermissionsApproveOrRejectAudit (params){
    return request({
        url:"/sys/iaBidding/check.do",
        method: 'post',
        params: params
    });
};




